﻿@model smartcrm.Bug
<script src="../../Scripts/reportbug.js"></script>
<form method="post" enctype="multipart/form-data">
<div id="BugReport" class="">
    <table class="tableEdit">
        <thead>
            <tr>
                <th colspan="2" style="text-align:left;height:30px; color:#666;padding:5px;">如果您使用过程中出现了Bug或有好的建议，请在此页面提交，非常感谢！<br />或者您也可以发送邮件至：<span style='color:Blue'>361374702@qq.com</span>，我们将尽快回复您的疑问。</th>
            </tr>
        </thead>
        <tr>
            <td class="label">类型</td>
            <td>
                <input type="radio" id="Type1" checked="checked" name="Type" class="radioButton" value="1" /><span class="labelNextStep" style='color:Black;font-weight:normal'>Bug</span><input type="radio" id="NextType2" name="Type" value="2" class="radioButton" /><span class="labelNextStep"  style='color:Black;font-weight:normal'>建议</span>
            </td>
        </tr>
         <tr>
            <td class="label">Bug/建议</td>
            <td>@Html.TextBox("BugName",null, new {@style="width:320px;",@placeholder="问题简要描述"  }) <span class="redStar">*</span> </td>
        </tr>
         <tr>
            <td class="label">详细描述</td>
            <td>@Html.TextArea("BugDescription", null, new { @style = "width:320px;", @placeholder = "问题详细描述。如果是Bug，请详细描述出现错误时的操作步骤" })</td>
        </tr>
         <tr>
            <td class="label">您的Emai</td>
            <td>@Html.TextBox("CreatorEmail", null, new { @style = "width:320px;", @placeholder = "请务必留下您的Email，我们将据此与您联系" })<span class="redStar">*</span> </td>
        </tr>       
        <tr>
            <td class="label">附件</td>
            <td id="tdAttachment"><div style='color:#999; padding:5px;'>如果是Bug，你可以将出错页面截屏并作为附件上传给我们<br /></div>
                <img src="../../Images/grid/plus.png" title="添加" onclick="javascript:AddAttachment();" />
                
                <div><input type="file" id="D01" name="D01" /><img src='../../Images/grid/delete.png' title='删除' onclick="DeleteAttachment('D01');" /> </div>
            </td>
        </tr>        
    </table>
</div>

<div style="text-align:right;">  
     <span id="errorMessage" class="errorSpan"></span>    &nbsp;&nbsp;&nbsp;&nbsp;
     <input type="submit" id="btnSave" value="保存" />    
    </div>  
</form>
